package rush.rushcampus.service;

import rush.rushcampus.dto.FoundPublicationDto;
import rush.rushcampus.dto.FoundPageDto;
import rush.rushcampus.entity.Found;
import com.baomidou.mybatisplus.extension.service.IService;
import rush.rushcampus.vo.FoundAllVo;
import rush.rushcampus.vo.FoundInfoVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rush
 * @since 2024-06-14
 */
public interface IFoundService extends IService<Found> {


    void addFound(FoundPublicationDto foundPublicationDto);

    List<FoundAllVo> listFound(FoundPageDto foundPageDto);

    void removeFound(Long id , Integer commentType);

    FoundInfoVo getFoundById(Long id);
}
